#ifndef __STD__SQLITE_DATABASE_H
#define __STD__SQLITE_DATABASE_H

#include"stdDatebase.h"
#include<sqlite3.h>

class StdSqliteBase:public StdDataBase
{
public:
    bool connectDB(const char*localname);
    /*执行【查询】语句*/
    QueryResult query(const std::string &sql)override;

    /*执行【执行】语句*/
    bool execute(const std::string &sql)override;

    /*关闭数据库连接*/
   void close()override;

private:
    sqlite3 *m_db;






};


#endif